import Vue from 'vue'
import moment from 'moment'

Vue.filter('dateFmt', (arg1, arg2 = 'YYYY-MM-DD hh:mm:ss') => {
  return moment(arg1).format(arg2)
})